import 'package:wch/generated/json/base/json_field.dart';
import 'package:wch/generated/json/patient_label_list.g.dart';
import 'dart:convert';

@JsonSerializable()
class PatientLabelListModel {
	List<PatientLabelListShopLabelList>? shopLabelList;

	PatientLabelListModel();

	factory PatientLabelListModel.fromJson(Map<String, dynamic> json) => $PatientLabelListModelFromJson(json);

	Map<String, dynamic> toJson() => $PatientLabelListModelToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class PatientLabelListShopLabelList {
	String? id;
	String? hospitalId;
	String? name;
	int? type;
	String? colour;
	String? text;
	String? status;
	String? createTime;
	String? updateTime;

	PatientLabelListShopLabelList();

	factory PatientLabelListShopLabelList.fromJson(Map<String, dynamic> json) => $PatientLabelListShopLabelListFromJson(json);

	Map<String, dynamic> toJson() => $PatientLabelListShopLabelListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}